package com.oocl.dao;

import java.util.List;

import com.oocl.pojo.Customer;

public interface CustomerDao {
	/**
	 * add Customer
	 * @param customer
	 * @return
	 */
	public Customer addCustomer(Customer customer);
	/**
	 * update Customer
	 * @param customer
	 * @return
	 */
	public Customer updateCustomer(Customer customer);
	/**
	 * delete Customer
	 * @param id
	 * @return
	 */
	public Customer deleteCustomerById(String id);
	/**
	 * find all Customers
	 * @return
	 */
	public List<Customer> findAll();
	/**
	 * find Customer by id
	 * @param id
	 * @return
	 */
	public Customer findCustomerById(String id);
}
